﻿using System;
using AutoMailLib;

namespace TrinityAPI.AutoMail
{
    public class Common
    {
        public static Email GetEmailObj(string uri)
        {
            Email obj = new Email();
            obj = Activator.GetObject(obj.GetType(), uri + obj.GetType().Name) as Email;
            return obj;
        }
    }
}
